package com.ruoyi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * 点赞对象 jk_praise_records
 *
 * @author ruoyi
 * @date 2023-09-13
 */
public class JkPraiseRecords
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 资源ID */
    @Excel(name = "资源ID")
    private Long resourceId;

    /** 资源类型 */
    @Excel(name = "资源类型")
    private Integer resourceType;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setResourceId(Long resourceId)
    {
        this.resourceId = resourceId;
    }

    public Long getResourceId()
    {
        return resourceId;
    }
    public void setResourceType(Integer resourceType)
    {
        this.resourceType = resourceType;
    }

    public Integer getResourceType()
    {
        return resourceType;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
